.class public Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;
.super Lcom/jakewharton/salvage/RecyclingPagerAdapter;

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# instance fields
.field private context:Landroid/content/Context;

.field private expandLayout:Landroid/widget/RelativeLayout;

.field private isInfiniteLoop:Z

.field private itemList:Ljava/util/List;

.field private pointLayout:Landroid/widget/LinearLayout;

.field scale:F

.field private size:I

.field private titleView:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Ljava/util/List;Landroid/widget/RelativeLayout;Landroid/widget/LinearLayout;Landroid/widget/TextView;)V
    .locals 1

    invoke-direct {p0}, Lcom/jakewharton/salvage/RecyclingPagerAdapter;-><init>()V

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->context:Landroid/content/Context;

    invoke-static {p1}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v0

    iput v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->scale:F

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    if-eqz p2, :cond_0

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    iput-object p3, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->expandLayout:Landroid/widget/RelativeLayout;

    iput-object p4, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    iput-object p5, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->isInfiniteLoop:Z

    invoke-direct {p0}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->onDataChange()V

    return-void
.end method

.method static synthetic access$0(Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->context:Landroid/content/Context;

    return-object v0
.end method

.method private getPosition(I)I
    .locals 1

    iget-boolean v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->isInfiniteLoop:Z

    if-eqz v0, :cond_1

    iget v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->size:I

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    iget v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->size:I

    rem-int v0, p1, v0

    goto :goto_0

    :cond_1
    move v0, p1

    goto :goto_0
.end method

.method private onDataChange()V
    .locals 9

    const/4 v8, 0x4

    const/4 v7, 0x1

    const/4 v6, -0x2

    const/4 v1, 0x0

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iput v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->size:I

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->size:I

    if-le v0, v7, :cond_8

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    const/high16 v0, 0x4170

    iget v2, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->scale:F

    mul-float/2addr v0, v2

    float-to-int v2, v0

    move v0, v1

    :goto_0
    iget v3, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->size:I

    if-lt v0, v3, :cond_6

    :cond_0
    :goto_1
    iget v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->size:I

    if-lez v0, :cond_2

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->u()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    const-string v2, ""

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->u()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    :cond_1
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_2
    :goto_2
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->expandLayout:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_a

    :cond_3
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_a

    :cond_4
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->expandLayout:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_5
    :goto_3
    return-void

    :cond_6
    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v6, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    div-int/lit8 v4, v2, 0x2

    invoke-virtual {v3, v1, v1, v4, v1}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    new-instance v4, Landroid/widget/ImageView;

    iget-object v5, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->context:Landroid/content/Context;

    invoke-direct {v4, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const v5, 0x7f020314

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    if-nez v0, :cond_7

    invoke-virtual {v4, v7}, Landroid/widget/ImageView;->setSelected(Z)V

    :goto_4
    iget-object v5, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v4, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_7
    invoke-virtual {v4, v1}, Landroid/widget/ImageView;->setSelected(Z)V

    goto :goto_4

    :cond_8
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v8}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_1

    :cond_9
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v2, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->u()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2

    :cond_a
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->expandLayout:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    goto :goto_3
.end method


# virtual methods
.method public getCount()I
    .locals 1

    iget-boolean v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->isInfiniteLoop:Z

    if-eqz v0, :cond_0

    const v0, 0x7fffffff

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    goto :goto_0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 8

    const/4 v6, 0x0

    const/4 v3, 0x1

    const/4 v5, 0x0

    const/4 v4, 0x0

    const/4 v2, -0x1

    invoke-direct {p0, p1}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->getPosition(I)I

    move-result v0

    iget-object v1, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_4

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-direct {p0, p1}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->getPosition(I)I

    move-result v1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/n;

    move-object v1, v0

    :goto_0
    if-nez p2, :cond_0

    new-instance v0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;

    invoke-direct {v0, v6}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;-><init>(Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;)V

    new-instance p2, Landroid/widget/ImageView;

    iget-object v6, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->context:Landroid/content/Context;

    invoke-direct {p2, v6}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object p2, v0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;->imageView:Landroid/widget/ImageView;

    iget-object v6, v0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;->imageView:Landroid/widget/ImageView;

    sget-object v7, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v6, v0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;->imageView:Landroid/widget/ImageView;

    const v7, -0x333334

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    new-instance v6, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v6, v2, v2}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {p2, v6}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v6, v0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;->imageView:Landroid/widget/ImageView;

    new-instance v7, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$1;

    invoke-direct {v7, p0}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$1;-><init>(Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;)V

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p2, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    move-object v6, v0

    :goto_1
    iput-object v1, v6, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;->info:Lcom/xingbook/b/n;

    iget-object v0, v6, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;->imageView:Landroid/widget/ImageView;

    sget-object v7, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v7}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    instance-of v0, v1, Lcom/xingbook/b/k;

    if-eqz v0, :cond_2

    if-nez v1, :cond_1

    const-string v0, ""

    :goto_2
    iget-object v1, v6, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;->imageView:Landroid/widget/ImageView;

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    :goto_3
    return-object p2

    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;

    move-object v6, v0

    goto :goto_1

    :cond_1
    move-object v0, v1

    check-cast v0, Lcom/xingbook/b/k;

    invoke-virtual {v0, v4}, Lcom/xingbook/b/k;->a(Z)Ljava/lang/String;

    move-result-object v0

    goto :goto_2

    :cond_2
    if-nez v1, :cond_3

    const-string v0, ""

    :goto_4
    iget-object v1, v6, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter$ViewHolder;->imageView:Landroid/widget/ImageView;

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    goto :goto_3

    :cond_3
    invoke-virtual {v1, v4}, Lcom/xingbook/b/n;->d(Z)Ljava/lang/String;

    move-result-object v0

    goto :goto_4

    :cond_4
    move-object v1, v6

    goto :goto_0
.end method

.method public isInfiniteLoop()Z
    .locals 1

    iget-boolean v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->isInfiniteLoop:Z

    return v0
.end method

.method public isMultiData()Z
    .locals 2

    const/4 v0, 0x1

    iget-object v1, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-le v1, v0, :cond_0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public onPageScrollStateChanged(I)V
    .locals 0

    return-void
.end method

.method public onPageScrolled(IFI)V
    .locals 0

    return-void
.end method

.method public onPageSelected(I)V
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    rem-int/2addr p1, v0

    :cond_0
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-le v0, p1, :cond_1

    move v0, v1

    :goto_0
    iget-object v2, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v2

    if-lt v0, v2, :cond_3

    :cond_1
    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge p1, v0, :cond_2

    iget-object v1, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->titleView:Landroid/widget/TextView;

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->u()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_2
    return-void

    :cond_3
    if-ne v0, p1, :cond_4

    iget-object v2, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    const/4 v3, 0x1

    invoke-virtual {v2, v3}, Landroid/view/View;->setSelected(Z)V

    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_4
    iget-object v2, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->pointLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/view/View;->setSelected(Z)V

    goto :goto_1
.end method

.method public setData(Ljava/util/ArrayList;)V
    .locals 1

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->itemList:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    invoke-direct {p0}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->onDataChange()V

    invoke-virtual {p0}, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->notifyDataSetChanged()V

    return-void
.end method

.method public setInfiniteLoop(Z)Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;
    .locals 0

    iput-boolean p1, p0, Lcn/trinea/android/view/autoscrolladapter/AutoViewPagerAdapter;->isInfiniteLoop:Z

    return-object p0
.end method
